(function(){
	window.onload=function(){
		var to_top=document.getElementById("to_top");
		var h=document.documentElement.clientHeight;
		window.onscroll=function(){
			if(document.documentElement.scrollTop>0){
				to_top.style.display="block";
				to_top.onclick=function(){
					document.documentElement.scrollTop=0;
					to_top.style.display="none";
				}
			}else{
				to_top.style.display="none";
			}
		}
	}
})()